package com.nondo.dean.platform.model.result;

import com.nondo.dean.common.tool.BeanUtils;
import com.nondo.dean.platform.domain.User;

public class OrderUserResult {
    private Integer id; // 用户ID
    private String userNo; // 客户编号
    private String userName; // 客户名称
    private String moible; // 联系电话
    private String address; // 客户地址
    private String orderDate; // 订单日期
    private String orderCode; // 采购订单编号
    private String regionName; // 所属区域
    private String orderTakeUser; // 接单员
    private String proxyCode; // 总代编码
    private String avatar; // 用户头像
    public Integer getId() {
        return id;
    }

    public void setId(Integer userId) {
        this.id = userId;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMoible() {
        return moible;
    }

    public void setMoible(String moible) {
        this.moible = moible;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getOrderTakeUser() {
        return orderTakeUser;
    }

    public void setOrderTakeUser(String orderTakeUser) {
        this.orderTakeUser = orderTakeUser;
    }

    public String getProxyCode() {
        return proxyCode;
    }

    public void setProxyCode(String proxyCode) {
        this.proxyCode = proxyCode;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public static OrderUserResult covertToBean(User user) {
        OrderUserResult userResult = new OrderUserResult();
        BeanUtils.copy(user, userResult);
        return userResult;
    }

}
